﻿<%@ Page Title="Đăng ký thành viên" Theme="MainTheme" Language="C#" MasterPageFile="~/MasterPageDeal.Master" AutoEventWireup="true" CodeBehind="Registration.aspx.cs" Inherits="_5ChickDeal.Registration" %>
<%@ Register src="UserControl/Registration.ascx" tagname="Registration" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <script type="text/javascript" language="javascript" src="Js/js/jquery-1.5.1.min.js"></script>
<script type="text/javascript">

    function check() {
        $.ajax({

            url: "Ajax/CheckEmail.aspx?e=" + $("#ctl00_MainContent_Registration1_TextBoxEmail").val(),
            cache: false,
            success: function(html) {
                $("#erroremail").html(html);
                if ($("#noerror").val() == "1") {
                    $("#ctl00_MainContent_Registration1_LinkButton1").attr("href", 'javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$MainContent$Registration1$LinkButton1", "", true, "", "", false, true))');


                }
                else {
                    $("#ctl00_MainContent_Registration1_LinkButton1").removeAttr("href");
                }
            }
        });
    }
    $(function() {
        $("#ctl00_MainContent_Registration1_TextBoxEmail").focus();
       $("#ctl00_MainContent_Registration1_LinkButton1").removeAttr("href");
        $("#ctl00_MainContent_Registration1_TextBoxEmail").focusout(check);
    });

</script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<div class="BoxBig">
    <div class="ContentT">
    </div>
    <div class="ContentC">
        <div class="Past">
            <h2 class="PastTitle">
                <span class="PastTitleL"></span><span class="PastTitleC">Đăng ký thành viên</span>
                <span class="PastTitleR"></span>
            </h2>
            <div class="PastList">
                
                
                <uc1:Registration ID="Registration1" runat="server" />
                
               
            </div>
        </div>
    </div>
    <div class="ContentB">
    </div>
</div>


</asp:Content>
